package com.vegetable.modules.entity.finance.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 项目盈利情况汇总VO
 */
@Data
@ApiModel(value = "项目盈利情况汇总VO", description = "项目盈利情况汇总VO")
public class ProjectProfitSummaryVO {

    @ApiModelProperty(value = "项目名称")
    private String projectName = "河北项目";

    @ApiModelProperty(value = "总收入")
    private BigDecimal totalSales = BigDecimal.ZERO;

    @ApiModelProperty(value = "总成本")
    private BigDecimal totalCost = BigDecimal.ZERO;

    @ApiModelProperty(value = "总利润")
    private BigDecimal totalProfit = BigDecimal.ZERO;

    @ApiModelProperty(value = "总支出")
    private BigDecimal totalExpense = BigDecimal.ZERO;

    @ApiModelProperty(value = "净利润")
    private BigDecimal netProfit = BigDecimal.ZERO;

    @ApiModelProperty(value = "费用报销总额")
    private BigDecimal totalReimbursement = BigDecimal.ZERO;

    @ApiModelProperty(value = "采购费用总额")
    private BigDecimal totalPurchaseCost = BigDecimal.ZERO;

    @ApiModelProperty(value = "代办费用总额")
    private BigDecimal totalAgentCost = BigDecimal.ZERO;

    @ApiModelProperty(value = "加工费用总额")
    private BigDecimal totalPackCost = BigDecimal.ZERO;

    @ApiModelProperty(value = "费用报销占比")
    private BigDecimal reimbursementRatio = BigDecimal.ZERO;

    @ApiModelProperty(value = "采购费用占比")
    private BigDecimal purchaseRatio = BigDecimal.ZERO;

    @ApiModelProperty(value = "代办费用占比")
    private BigDecimal agentRatio = BigDecimal.ZERO;

    @ApiModelProperty(value = "加工费用占比")
    private BigDecimal packRatio = BigDecimal.ZERO;
    
    // 添加回款情况相关字段
    @ApiModelProperty(value = "项目回款总额")
    private BigDecimal totalCollection = BigDecimal.ZERO;
    
    @ApiModelProperty(value = "回款率（回款总额/销售收入）")
    private BigDecimal collectionRate = BigDecimal.ZERO;
}